#if 0
//
// Generated by Microsoft (R) D3DX9 Shader Compiler 9.15.779.0000
//
//   fxc /T ps_2_0 /E mainPS /Fh
//    C:\Program Files\Rockstar Games\GTA San Andreas\extra_resources\shaders\veh_matnull_sm2a.txt
//    C:\Program Files\Rockstar Games\GTA San Andreas\extra_resources\shaders\veh_matnull_sm2a.hlsl
//
//
// Parameters:
//
//   float4 LightColor1;
//   float4 MatAmbient;
//   float4 MatDiffuse;
//   float4 MatSpec;
//   float MatSpecPow;
//   sampler2D colorSampler;
//   sampler2D normalSampler;
//   float4 sceneambient;
//
//
// Registers:
//
//   Name          Reg   Size
//   ------------- ----- ----
//   LightColor1   c0       1
//   MatDiffuse    c1       1
//   MatAmbient    c2       1
//   MatSpecPow    c3       1
//   sceneambient  c4       1
//   MatSpec       c5       1
//   colorSampler  s0       1
//   normalSampler s1       1
//
//
// Default values:
//
//   LightColor1
//     c0   = { 1, 1, 1, 1 };
//
//   MatDiffuse
//     c1   = { 1, 1, 1, 1 };
//
//   MatAmbient
//     c2   = { 0, 0, 0, 1 };
//
//   MatSpecPow
//     c3   = { 40, 0, 0, 0 };
//
//   sceneambient
//     c4   = { 0, 0, 0, 1 };
//
//   MatSpec
//     c5   = { 1, 1, 1, 1 };
//

    ps_2_0
    def c6, -0.5, 0, 0, 0
    dcl_pp t0.xy
    dcl_pp t1.xyz
    dcl_pp t2.xyz
    dcl_pp t3.xyz
    dcl_pp t4.xyz
    dcl_pp t5.xyz
    dcl_pp t6.xyz
    dcl_2d s0
    dcl_2d s1
    texld r1, t0, s1
    texld_pp r0, t0, s0
    nrm_pp r2.xyz, t6
    add_pp r3.xy, r1, c6.x
    mul_pp r2.xyz, r2, r3.y
    nrm_pp r1.xyz, t5
    dp3_pp r4.x, t2, t2
    mad_pp r1.xyz, r3.x, r1, r2
    rsq_pp r1.w, r4.x
    mad_pp r1.xyz, t2, r1.w, r1
    nrm_pp r2.xyz, r1
    mov_pp r1.xyz, t4
    add_pp r3.xyz, r1, -t3
    dp3_pp r1.x, r3, r3
    rsq_pp r1.w, r1.x
    nrm_pp r1.xyz, t1
    mad_pp r4.xyz, r3, r1.w, r1
    nrm_pp r3.xyz, r4
    dp3_pp r4.x, r3, r2
    dp3_pp r2.x, r1, r2
    max_pp r3.w, r4.x, c6.y
    max_pp r1.w, r2.x, c6.y
    pow_pp r2.w, r3.w, c3.x
    mul_pp r1.xyz, r1.w, c0
    mul_pp r1.w, r1.w, r2.w
    mov_pp r2.xyz, c0
    mul_pp r2.xyz, r2, c5
    mul_pp r2.xyz, r1.w, r2
    mov_pp r3.xyz, c2
    add_pp r3.xyz, r3, c4
    mad_pp r1.xyz, c1, r1, r3
    mad_pp r0.xyz, r1, r0, r2
    mul_pp r0.w, r0.w, c1.w
    mov_pp oC0, r0

// approximately 46 instruction slots used (2 texture, 44 arithmetic)
#endif

const DWORD g_ps20_mainPS[] =
{
    0xffff0200, 0x006ffffe, 0x42415443, 0x0000001c, 0x00000186, 0xffff0200, 
    0x00000008, 0x0000001c, 0x00000100, 0x0000017f, 0x000000bc, 0x00000002, 
    0x00000001, 0x000000c8, 0x000000d8, 0x000000e8, 0x00020002, 0x00000001, 
    0x000000c8, 0x000000f4, 0x00000104, 0x00010002, 0x00000001, 0x000000c8, 
    0x000000d8, 0x0000010f, 0x00050002, 0x00000001, 0x000000c8, 0x000000d8, 
    0x00000117, 0x00030002, 0x00000001, 0x00000124, 0x00000134, 0x00000144, 
    0x00000003, 0x00000001, 0x00000154, 0x00000000, 0x00000164, 0x00010003, 
    0x00000001, 0x00000154, 0x00000000, 0x00000172, 0x00040002, 0x00000001, 
    0x000000c8, 0x000000f4, 0x6867694c, 0x6c6f4374, 0x0031726f, 0x00030001, 
    0x00040001, 0x00000001, 0x00000000, 0x3f800000, 0x3f800000, 0x3f800000, 
    0x3f800000, 0x4174614d, 0x6569626d, 0xab00746e, 0x00000000, 0x00000000, 
    0x00000000, 0x3f800000, 0x4474614d, 0x75666669, 0x4d006573, 0x70537461, 
    0x4d006365, 0x70537461, 0x6f506365, 0xabab0077, 0x00030000, 0x00010001, 
    0x00000001, 0x00000000, 0x42200000, 0x00000000, 0x00000000, 0x00000000, 
    0x6f6c6f63, 0x6d615372, 0x72656c70, 0xababab00, 0x000c0004, 0x00010001, 
    0x00000001, 0x00000000, 0x6d726f6e, 0x61536c61, 0x656c706d, 0x63730072, 
    0x61656e65, 0x6569626d, 0x7000746e, 0x5f325f73, 0x694d0030, 0x736f7263, 
    0x2074666f, 0x20295228, 0x58443344, 0x68532039, 0x72656461, 0x6d6f4320, 
    0x656c6970, 0x2e392072, 0x372e3531, 0x302e3937, 0x00303030, 0x05000051, 
    0xa00f0006, 0xbf000000, 0x00000000, 0x00000000, 0x00000000, 0x0200001f, 
    0x80000000, 0xb0230000, 0x0200001f, 0x80000000, 0xb0270001, 0x0200001f, 
    0x80000000, 0xb0270002, 0x0200001f, 0x80000000, 0xb0270003, 0x0200001f, 
    0x80000000, 0xb0270004, 0x0200001f, 0x80000000, 0xb0270005, 0x0200001f, 
    0x80000000, 0xb0270006, 0x0200001f, 0x90000000, 0xa00f0800, 0x0200001f, 
    0x90000000, 0xa00f0801, 0x03000042, 0x800f0001, 0xb0e40000, 0xa0e40801, 
    0x03000042, 0x802f0000, 0xb0e40000, 0xa0e40800, 0x02000024, 0x80270002, 
    0xb0e40006, 0x03000002, 0x80230003, 0x80e40001, 0xa0000006, 0x03000005, 
    0x80270002, 0x80e40002, 0x80550003, 0x02000024, 0x80270001, 0xb0e40005, 
    0x03000008, 0x80210004, 0xb0e40002, 0xb0e40002, 0x04000004, 0x80270001, 
    0x80000003, 0x80e40001, 0x80e40002, 0x02000007, 0x80280001, 0x80000004, 
    0x04000004, 0x80270001, 0xb0e40002, 0x80ff0001, 0x80e40001, 0x02000024, 
    0x80270002, 0x80e40001, 0x02000001, 0x80270001, 0xb0e40004, 0x03000002, 
    0x80270003, 0x80e40001, 0xb1e40003, 0x03000008, 0x80210001, 0x80e40003, 
    0x80e40003, 0x02000007, 0x80280001, 0x80000001, 0x02000024, 0x80270001, 
    0xb0e40001, 0x04000004, 0x80270004, 0x80e40003, 0x80ff0001, 0x80e40001, 
    0x02000024, 0x80270003, 0x80e40004, 0x03000008, 0x80210004, 0x80e40003, 
    0x80e40002, 0x03000008, 0x80210002, 0x80e40001, 0x80e40002, 0x0300000b, 
    0x80280003, 0x80000004, 0xa0550006, 0x0300000b, 0x80280001, 0x80000002, 
    0xa0550006, 0x03000020, 0x80280002, 0x80ff0003, 0xa0000003, 0x03000005, 
    0x80270001, 0x80ff0001, 0xa0e40000, 0x03000005, 0x80280001, 0x80ff0001, 
    0x80ff0002, 0x02000001, 0x80270002, 0xa0e40000, 0x03000005, 0x80270002, 
    0x80e40002, 0xa0e40005, 0x03000005, 0x80270002, 0x80ff0001, 0x80e40002, 
    0x02000001, 0x80270003, 0xa0e40002, 0x03000002, 0x80270003, 0x80e40003, 
    0xa0e40004, 0x04000004, 0x80270001, 0xa0e40001, 0x80e40001, 0x80e40003, 
    0x04000004, 0x80270000, 0x80e40001, 0x80e40000, 0x80e40002, 0x03000005, 
    0x80280000, 0x80ff0000, 0xa0ff0001, 0x02000001, 0x802f0800, 0x80e40000, 
    0x0000ffff
};
